﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class Program
    {
        static void Main(string[] args)
        {
            Student stu = new Student();
            stu.id = 001;
            stu.name = "秃不拉几";
            stu.sex = '男';
            stu.carid = 45464786;
            stu.tel = 110;
            stu.Major = "软件工程";
            stu.Grade = "大一";
            stu.speak();
            Console.WriteLine();
            Teacher t = new Teacher();
            t.id = 0010;
            t.name = "憨不拉几";
            t.sex = '男';
            t.carid = 45464786;
            t.tel = 110;
            t.Title = "专业老师";
            t.Wageno= "9527";
            t.speak();
        }
    }
}
